﻿///***************************************************************
/// 시  스  템 : Updms.Prj.Dac
/// 단위시스템 : PRJ
/// 계      층 : Data Access Layer
/// 프로그램명 : Prj_Dac_UPDMS_PRJ_REPORT_Prj2011r
/// 파  일  명 : Prj_Dac_UPDMS_PRJ_REPORT_Prj2011r.cs
/// 설      명 : 기간별발생챠트(접수일기준)
///***************************************************************
/// 수정ID 일자       이름     내용
///---------------------------------------------------------------
/// CH001  2008-12-23 송시명   최초 작성
///***************************************************************
using System.Data;
using System.Data.SqlClient;
using System.EnterpriseServices;
using System.Runtime.InteropServices;

using SMFramework.Data;

namespace Updms.Prj.Dac
{
	[ComVisible(true)]
	[Transaction(TransactionOption.Supported)]
	[JustInTimeActivation(true)]
	public class Prj_Dac_UPDMS_PRJ_REPORT_Prj2011r : Base.AppFramework.DacBase
	{
		public Prj_Dac_UPDMS_PRJ_REPORT_Prj2011r()
		{
		}

		#region NT [GetWeeklyCountBaseOnReceiveDt]
		/// <summary>
		/// 기간별발생챠트(주별, 접수일기준)
		/// </summary>
		/// <param name="lo_dp"></param>
		/// <returns></returns>
		[AutoComplete]
		public DataSet GetWeeklyCountBaseOnReceiveDt(DataPack lo_dp)
		{
			string strSql = "usp_UPDMS_PRJ_REPORT_Prj2011r_Get_Weekly_Count_Base_On_Receive_Dt";

			SqlParameter[] paramArray = lo_dp.ToSqlParameters();

			DataSet ds = new DataSet();
			return _agent.Fill(strSql, "UPDMS_PRJ_REPORT", ds, paramArray, CommandType.StoredProcedure);
		}
		
		#endregion

		#region NT [GetMonthlyCountBaseOnReceiveDt]
		/// <summary>
		/// 기간별발생챠트(월별, 접수일기준)
		/// </summary>
		/// <param name="lo_dp"></param>
		/// <returns></returns>
		[AutoComplete]
		public DataSet GetMonthlyCountBaseOnReceiveDt(DataPack lo_dp)
		{
			string strSql = "usp_UPDMS_PRJ_REPORT_Prj2011r_Get_Monthly_Count_Base_On_Receive_Dt";

			SqlParameter[] paramArray = lo_dp.ToSqlParameters();

			DataSet ds = new DataSet();
			return _agent.Fill(strSql, "UPDMS_PRJ_REPORT", ds, paramArray, CommandType.StoredProcedure);
		}

		#endregion


	}
}
